package ch.fusun.baron.core.initialization;

import java.util.List;

/**
 * Does initialization work for you
 */
public interface GameInitializationUtil {

	/**
	 * @return All registered initializers in the dependency order
	 */
	List<GameInitializer> getInitializers();

	/**
	 * @param <T>
	 * @param clazz
	 * @return The initializer of that class or null if not found
	 */
	<T> T get(Class<T> clazz);

}
